import Vue from 'vue'
import App from './App.vue'
import router from '../common/router'
import http from '../common/http'
import store from '../common/store.js'
import common from '../common/common'
import message from '../common/message.js'
import ViewUI from 'view-design'
import 'view-design/dist/styles/iview.css'
import { Field,Form,Button,Tabbar, TabbarItem,Cell, CellGroup,Calendar, Popup, DatetimePicker,Image as VanImage } from 'vant';

Vue.use(Field).use(Form).use(Button).use(Tabbar).use(TabbarItem)
.use(Cell).use( CellGroup).use(Calendar).use(Popup).use(DatetimePicker).use(VanImage);
Vue.config.productionTip = false
Vue.use(ViewUI)
Vue.prototype.http = http
Vue.prototype.store = store
Vue.prototype.message = message
Vue.prototype.common = common
new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
